<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增核检月')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-developReview-add">
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-8" th:with="type=${@dict.getType('course_package_type')}">
                    <label class="radio-box" th:each="dict : ${type}">
                        <input name="type" type="radio"  th:text="${dict.dictLabel}"  th:value="${dict.dictValue}"  >
                    </label>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">核检名称：</label>
                <div class="col-sm-8">
                    <input name="name" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">排序：</label>
                <div class="col-sm-8">
                    <input name="orderNum" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/developReview"
        $("#form-developReview-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-developReview-add').serialize());
            }
        }




        $("input[name='created']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>